package demo1;

public class java11 {
	public static void main(String[] args) {
		int[] arr={5,3,2,9,5,1};
		
		findnum(arr,0);
	}
	
	public static void findnum(int[] arr,int x){
		for(int i=0;i<arr.length;i++){
			
			if(x == arr[i]){
				System.out.println("true");
	}
		}
		System.out.println("false");
}
}
